import { service } from "@/utils/request";
class userService extends service {
  // 登录:根据code获取tken
  login(code: string) {
    return this.get({
      url: '/api/ucenter/webChat/callback',
      data: {
        code,
      }
    })
  }
  getUserInfo() {
    return this.get({
      url: '/api/ucenter/member/auth/getLoginInfo'
    })
  }
}
export default new userService();